[INFO] cloning repository https://github.com/wil92/cpy-service
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wil92/cpy-service" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwil92%2Fcpy-service", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwil92%2Fcpy-service'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a06249f3dae0b83730dcef808f44396d8dbc8e06
[INFO] checking wil92/cpy-service against try#a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwil92%2Fcpy-service" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/wil92/cpy-service
[INFO] finished tweaking git repo https://github.com/wil92/cpy-service
[INFO] tweaked toml for git repo https://github.com/wil92/cpy-service written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/wil92/cpy-service on toolchain a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/wil92/cpy-service already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f85e2439f0b13912b898368ed1b3fc514aa5c77baf860e61059d84f3e0b9f2d8
[INFO] running `Command { std: "docker" "start" "-a" "f85e2439f0b13912b898368ed1b3fc514aa5c77baf860e61059d84f3e0b9f2d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f85e2439f0b13912b898368ed1b3fc514aa5c77baf860e61059d84f3e0b9f2d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f85e2439f0b13912b898368ed1b3fc514aa5c77baf860e61059d84f3e0b9f2d8", kill_on_drop: false }`
[INFO] [stdout] f85e2439f0b13912b898368ed1b3fc514aa5c77baf860e61059d84f3e0b9f2d8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b17960b8a88247fbed600a713c7880e3ca6e48255f50910d3d2f0e86f92b0a7e
[INFO] running `Command { std: "docker" "start" "-a" "b17960b8a88247fbed600a713c7880e3ca6e48255f50910d3d2f0e86f92b0a7e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]     Checking smallvec v1.11.0
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking pin-project-lite v0.2.10
[INFO] [stderr]     Checking bytes v1.4.0
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling tokio v1.29.1
[INFO] [stderr]    Compiling quote v1.0.32
[INFO] [stderr]    Compiling syn v2.0.27
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking socket2 v0.4.9
[INFO] [stderr]     Checking mio v0.8.8
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]     Checking copy-service v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `crate::network`
[INFO] [stdout]    --> src/protocol.rs:137:16
[INFO] [stdout]     |
[INFO] [stdout] 137 |     use crate::network::protocol;
[INFO] [stdout]     |                ^^^^^^^ could not find `network` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::SocketAddr`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::net::SocketAddr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TcpStream`
[INFO] [stdout]  --> src/main.rs:6:31
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tokio::net::{TcpListener, TcpStream};
[INFO] [stdout]   |                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `time`
[INFO] [stdout]  --> src/main.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::{spawn, time};
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::SocketAddr`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::net::SocketAddr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TcpStream`
[INFO] [stdout]  --> src/main.rs:6:31
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tokio::net::{TcpListener, TcpStream};
[INFO] [stdout]   |                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `time`
[INFO] [stdout]  --> src/main.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::{spawn, time};
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/communication.rs:17:23
[INFO] [stdout]    |
[INFO] [stdout] 17 |             for (msg, id, flags, addr, port) in decoded_messages {
[INFO] [stdout]    |                       ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `flags`
[INFO] [stdout]   --> src/communication.rs:17:27
[INFO] [stdout]    |
[INFO] [stdout] 17 |             for (msg, id, flags, addr, port) in decoded_messages {
[INFO] [stdout]    |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/communication.rs:17:23
[INFO] [stdout]    |
[INFO] [stdout] 17 |             for (msg, id, flags, addr, port) in decoded_messages {
[INFO] [stdout]    |                       ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `flags`
[INFO] [stdout]   --> src/communication.rs:17:27
[INFO] [stdout]    |
[INFO] [stdout] 17 |             for (msg, id, flags, addr, port) in decoded_messages {
[INFO] [stdout]    |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/communication.rs:17:34
[INFO] [stdout]    |
[INFO] [stdout] 17 |             for (msg, id, flags, addr, port) in decoded_messages {
[INFO] [stdout]    |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `port`
[INFO] [stdout]   --> src/communication.rs:17:40
[INFO] [stdout]    |
[INFO] [stdout] 17 |             for (msg, id, flags, addr, port) in decoded_messages {
[INFO] [stdout]    |                                        ^^^^ help: if this is intentional, prefix it with an underscore: `_port`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/communication.rs:17:34
[INFO] [stdout]    |
[INFO] [stdout] 17 |             for (msg, id, flags, addr, port) in decoded_messages {
[INFO] [stdout]    |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `port`
[INFO] [stdout]   --> src/communication.rs:17:40
[INFO] [stdout]    |
[INFO] [stdout] 17 |             for (msg, id, flags, addr, port) in decoded_messages {
[INFO] [stdout]    |                                        ^^^^ help: if this is intentional, prefix it with an underscore: `_port`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `(dyn std::error::Error + 'static)` cannot be sent between threads safely
[INFO] [stdout]    --> src/main.rs:36:32
[INFO] [stdout]     |
[INFO] [stdout] 36  |         let slave_task = spawn(start_slave_service("0.0.0.0:5000".parse().unwrap()));
[INFO] [stdout]     |                          ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `(dyn std::error::Error + 'static)` cannot be sent between threads safely
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Send` is not implemented for `(dyn std::error::Error + 'static)`
[INFO] [stdout]     = note: required for `Unique<(dyn std::error::Error + 'static)>` to implement `Send`
[INFO] [stdout] note: required because it appears within the type `Box<(dyn std::error::Error + 'static)>`
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/alloc/src/boxed.rs:231:12
[INFO] [stdout] note: required because it appears within the type `Result<(), Box<(dyn std::error::Error + 'static)>>`
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/result.rs:548:10
[INFO] [stdout] note: required by a bound in `tokio::spawn`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.29.1/src/task/spawn.rs:167:20
[INFO] [stdout]     |
[INFO] [stdout] 164 |     pub fn spawn<T>(future: T) -> JoinHandle<T::Output>
[INFO] [stdout]     |            ----- required by a bound in this function
[INFO] [stdout] ...
[INFO] [stdout] 167 |         T::Output: Send + 'static,
[INFO] [stdout]     |                    ^^^^ required by this bound in `spawn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `(dyn std::error::Error + 'static)` cannot be sent between threads safely
[INFO] [stdout]    --> src/main.rs:36:32
[INFO] [stdout]     |
[INFO] [stdout] 36  |         let slave_task = spawn(start_slave_service("0.0.0.0:5000".parse().unwrap()));
[INFO] [stdout]     |                          ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `(dyn std::error::Error + 'static)` cannot be sent between threads safely
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Send` is not implemented for `(dyn std::error::Error + 'static)`
[INFO] [stdout]     = note: required for `Unique<(dyn std::error::Error + 'static)>` to implement `Send`
[INFO] [stdout] note: required because it appears within the type `Box<(dyn std::error::Error + 'static)>`
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/alloc/src/boxed.rs:231:12
[INFO] [stdout] note: required because it appears within the type `Result<(), Box<(dyn std::error::Error + 'static)>>`
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/result.rs:548:10
[INFO] [stdout] note: required by a bound in `tokio::spawn`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.29.1/src/task/spawn.rs:167:20
[INFO] [stdout]     |
[INFO] [stdout] 164 |     pub fn spawn<T>(future: T) -> JoinHandle<T::Output>
[INFO] [stdout]     |            ----- required by a bound in this function
[INFO] [stdout] ...
[INFO] [stdout] 167 |         T::Output: Send + 'static,
[INFO] [stdout]     |                    ^^^^ required by this bound in `spawn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `copy-service` (bin "copy-service") due to 1 previous error; 8 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `copy-service` (bin "copy-service" test) due to 2 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b17960b8a88247fbed600a713c7880e3ca6e48255f50910d3d2f0e86f92b0a7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b17960b8a88247fbed600a713c7880e3ca6e48255f50910d3d2f0e86f92b0a7e", kill_on_drop: false }`
[INFO] [stdout] b17960b8a88247fbed600a713c7880e3ca6e48255f50910d3d2f0e86f92b0a7e
